<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<link rel="stylesheet" href="../../../prettify.css" type="text/css">
<meta content="PartiesCreator,mymyoux.controls.io.PartiesCreator,people,showCancelButton,showValidButton,accept,cancel,canceling,commitProperties,generateHash,generateResultHash,validation" name="keywords">
<title>mymyoux.controls.io.PartiesCreator</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../prettify.js"></script><script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'PartiesCreator - Mymyoux's Classes AS3 Reference';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Mymyoux's Classes AS3 Reference</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?mymyoux/controls/io/PartiesCreator.html&amp;mymyoux/controls/io/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;PartiesCreator</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class PartiesCreator"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">mymyoux.controls.io</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class PartiesCreator</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">PartiesCreator <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> mx.containers.VBox</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Implements</td><td>mx.binding.IBindingClient</td>
</tr>
</table>
<p></p>
<p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#people">people</a> : <a href="../../io/mserverconnectorClasses/MServerIdentifier.html">MServerIdentifier</a>
<div class="summaryTableDescription">
    Créateur de la partie.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#showCancelButton">showCancelButton</a> : Boolean<div class="summaryTableDescription">
    Indique si le bouton d'annulation doit être visible.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#showValidButton">showValidButton</a> : Boolean<div class="summaryTableDescription">
    Indique si le bouton de validation doit être visible.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#cancel()">cancel</a>():void</div>
<div class="summaryTableDescription">
    Supprime les données de la partie dans le joueur identifié par people.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#validation()">validation</a>():void</div>
<div class="summaryTableDescription">
    Enregistre les données de la partie dans le joueur identifié par people.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#accept()">accept</a>():void</div>
<div class="summaryTableDescription">
    Appelée lorsque l'utilisateur valide la partie.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#canceling()">canceling</a>():void</div>
<div class="summaryTableDescription">
    Appelée lorsque l'utilisateur annule la partie.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#commitProperties()">commitProperties</a>():void</div>
<div class="summaryTableDescription">
    Appelée lors d'une modification d'une propriété publique.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#generateHash()">generateHash</a>(u:Container):<a href="../../utils/Hash.html">Hash</a>
</div>
<div class="summaryTableDescription">
    Génère le Hash de structure de la Partie.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#generateResultHash()">generateResultHash</a>(u:Container):<a href="../../utils/Hash.html">Hash</a>
</div>
<div class="summaryTableDescription">
    Génère le Hash de résultats de la Partie.</div>
</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:cancel">cancel</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
         PartiesCreator dispatche l'event cancel
         quand l'utilisateur annule la partie.</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:valid">valid</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
         PartiesCreator dispatche l'event valide
         quand la partie a été validée.</td><td class="summaryTableOwnerCol">PartiesCreator</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="people"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">people</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>people:<a href="../../io/mserverconnectorClasses/MServerIdentifier.html">MServerIdentifier</a></code>&nbsp;&nbsp;[read-write]<p>
    Créateur de la partie. S'il est spécifié alors il sera directement mis à jour lors de la validation.
    </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get people():<a href="../../io/mserverconnectorClasses/MServerIdentifier.html">MServerIdentifier</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set people(value:<a href="../../io/mserverconnectorClasses/MServerIdentifier.html">MServerIdentifier</a>):void</code>
<br>
</div>
<a name="showCancelButton"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showCancelButton</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>showCancelButton:Boolean</code>&nbsp;&nbsp;[read-write]<p>
    Indique si le bouton d'annulation doit être visible.
    </p><p>The default value is <code>true</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get showCancelButton():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set showCancelButton(value:Boolean):void</code>
<br>
</div>
<a name="showValidButton"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showValidButton</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>showValidButton:Boolean</code>&nbsp;&nbsp;[read-write]<p>
    Indique si le bouton de validation doit être visible.
    </p><p>The default value is <code>true</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get showValidButton():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set showValidButton(value:Boolean):void</code>
<br>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="accept()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">accept</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>protected function accept():void</code><p>
    Appelée lorsque l'utilisateur valide la partie.
    Fait appel à generateResultHash. 
    Appel validation() si l'évènement n'est pas annulé.
    Peut être annulée en appelant PartiesCreatorEvent.cancel()
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../io/PartiesCreator.html#generateResultHash()" target="">generateResultHash()</a>
<br>
<a href="events/PartiesCreatorEvent.html#cancel()" target="">mymyoux.controls.io.events.PartiesCreatorEvent.cancel()</a>
<br>
<a href="../io/PartiesCreator.html#validation()" target="">validation()</a>
</div>
</div>
<a name="cancel()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">cancel</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function cancel():void</code><p>
    Supprime les données de la partie dans le joueur identifié par people.
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../io/PartiesCreator.html#people" target="">people</a>
</div>
</div>
<a name="canceling()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">canceling</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function canceling():void</code><p>
    Appelée lorsque l'utilisateur annule la partie.
    Fait appel à generateResultHash() et cancel()
    Peut être annulée en appelant PartiesCreatorEvent.cancel()
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../io/PartiesCreator.html#generateResultHash()" target="">generateResultHash()</a>
<br>
<a href="events/PartiesCreatorEvent.html#cancel()" target="">mymyoux.controls.io.events.PartiesCreatorEvent.cancel()</a>
<br>
<a href="../io/PartiesCreator.html#cancel()" target="">cancel()</a>
</div>
</div>
<a name="commitProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">commitProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function commitProperties():void</code><p>
    Appelée lors d'une modification d'une propriété publique.
    Fait appel à generateHash.
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../io/PartiesCreator.html#generateHash()" target="">generateHash()</a>
</div>
</div>
<a name="generateHash()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">generateHash</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function generateHash(u:Container):<a href="../../utils/Hash.html">Hash</a></code><p>
    Génère le Hash de structure de la Partie. (Récursive)
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">u</span>:Container</code> &mdash; Conteneur à observer récursivement pour obtenir le Hash de structure.
    </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../../utils/Hash.html">Hash</a></code> &mdash; 
                        Le Hash de structure.
    
                        
                     </td>
</tr>
</table>
</div>
<a name="generateResultHash()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">generateResultHash</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function generateResultHash(u:Container):<a href="../../utils/Hash.html">Hash</a></code><p>
    Génère le Hash de résultats de la Partie. (Récursive)
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">u</span>:Container</code> &mdash; Conteneur à observer récursivement pour obtenir le Hash de résultats.
    </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../../utils/Hash.html">Hash</a></code> &mdash; 
                        Le Hash de résultats.
    
                        
                     </td>
</tr>
</table>
</div>
<a name="validation()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">validation</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function validation():void</code><p>
    Enregistre les données de la partie dans le joueur identifié par people.
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../io/PartiesCreator.html#people" target="">people</a>
</div>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:cancel"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">cancel</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PartiesCreatorEvent.html"><code>mymyoux.controls.io.events.PartiesCreatorEvent</code></a>
<br>
<p></p><p>
         PartiesCreator dispatche l'event cancel
         quand l'utilisateur annule la partie.
         </p></div>
<a name="event:valid"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">valid</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PartiesCreatorEvent.html"><code>mymyoux.controls.io.events.PartiesCreatorEvent</code></a>
<br>
<p></p><p>
         PartiesCreator dispatche l'event valide
         quand la partie a été validée.
         </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
